package cn.study.vue_project_xxx.util;

import cn.hutool.core.lang.Snowflake;
import cn.hutool.core.util.IdUtil;

public class UidGeneratorUtil {

    private static Snowflake snowflake = IdUtil.createSnowflake(1, 1);

    public static Long generatorUid() {
        return snowflake.nextId();
    }
}
